<th:block   th:fragment="comm_header(title, links, scripts)">
  <meta charset="UTF-8"/>
  <title th:replace="${title}">index title</title>

  <meta name="keywords" content="layui,layui模板,layui后台,后台模板,admin,admin模板,spring boot,spring security,spring-boot,spring-security">
  <meta name="description" content="基于layui的轻量级前端后台管理框架，简洁、易用的后台框架模板。">

  <!-- 强制Chromium内核，作用于360浏览器、QQ浏览器等国产双核浏览器 -->
  <meta name="renderer" content="webkit" />
  <!-- 强制Chromium内核，作用于其他双核浏览器 -->
  <meta name="force-rendering" content="webkit"/>
  <!-- 如果有安装 Google Chrome Frame 插件则强制为Chromium内核，否则强制本机支持的最高版本IE内核，作用于IE浏览器 -->
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
  <!--<meta http-equiv="Access-Control-Allow-Origin" content="*">-->
  <!-- 页面首次被显示是可视区域的缩放级别，取值1.0则页面按实际尺寸显示，无任何缩放 -->
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>

  <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
  <meta name="apple-mobile-web-app-capable" content="yes"/>
  <meta name="format-detection" content="telephone=no,email=no,adress=no"/>

  <meta name="csrf_header_name" th:content="${_csrf?.headerName?:''}"/>
  <meta name="csrf_cookie_name" th:content="${csrfCookieName?:''}"/>


  <base th:href="@{/}">

  <link rel="shortcut icon" th:href="@{${staticPath} + '/favicon.ico'}"  type="image/x-icon"/>
  <link rel="stylesheet" th:href="@{${staticPath} + '/lib/layui/css/layui.css'}"/>

  <!-- 局部css-->
  <th:block th:if="${links != null}">
    <th:block th:replace="${links}"></th:block>
  </th:block>

  <script th:src="@{${staticPath} + '/js/common.js'}" ></script>
  <script th:src="@{${staticPath} + '/lib/jquery/jquery-3.7.1.min.js'}" ></script>
  <script th:src="@{${staticPath} + '/lib/jquery/jquery.cookie.js'}" ></script>
  <script th:src="@{${staticPath} + '/js/jquery-plus.js'}" ></script>

  <!-- 局部script-->
  <th:block th:if="${scripts != null}">
    <th:block th:replace="${scripts}"></th:block>
  </th:block>

</th:block >


<th:block  th:fragment="comm_body_scripts(scripts)">
  <script th:src="@{${staticPath} + '/lib/layui/layui.js'}" ></script>
  <!-- 局部script-->
  <th:block th:if="${scripts != null}">
    <th:block th:replace="${scripts}"></th:block>
  </th:block>
</th:block >